import sqlite3

conn = sqlite3.connect('C:/Work/sqlite/data/menu/menu.db')
c = conn.cursor()

print ("数据库打开成功")
cursor = c.execute(f"select * from burden where cate = 2 and name = '姜'")
result = cursor.fetchone()
print(result[0])

conn.commit()
conn.close()

